{include file="../template/header.html" /}
        
<div class="my-3 my-md-5">
    <div class="container">
        <div class="row">
            <div class="col col-6 mx-auto">
                <form class="card" method="POST" action="/Doctor/Add">
                    <div class="card-body p-6">
                    <div class="card-title">医生添加</div>
                    <div class="form-group">
                        <label class="form-label">手机(登录名)：</label>
                        <input type="number" class="form-control" placeholder="Phone(Login Name):" id="phone" name="phone" required>
                    </div>
                    <div class="form-group">
                        <label class="form-label">密码：</label>
                        <input type="password" class="form-control" placeholder="Password" id="passwd" name="passwd" required>
                    </div>
                    <div class="form-group">
                        <label class="form-label">姓名：</label>
                        <input type="text" class="form-control" placeholder="Real Name" id="name" name="name" required>
                    </div>
                    {eq name="Think.session.cid" value="0"}
                    <div class="form-group">
                        <label class="form-label">归属：</label>
                        <select class="form-control" name="clinic">
                            {volist name="arr" id="data"}
                            {neq name="data.id" value="0"}
                            <option value="{$data.id}">{$data.name}</option>
                            {/neq}
                            {/volist}
                        </select>
                    </div>
                    {/eq}
                    <div class="form-footer">
                        <button type="submit" class="btn btn-primary btn-block" name="add">添加</button>
                    </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{include file="../template/footer.html" /}